import logging
import os

ptlogger = logging.getLogger('PodcastTagger')
pthandler = logging.FileHandler(os.path.expanduser('~') + '/.PodcastTagger/log')
pthandler.setFormatter(logging.Formatter('[%(asctime)s] %(levelname)s %(module)s: %(message)s'))
ptlogger.addHandler(pthandler)
ptlogger.setLevel(logging.INFO)
